{ config, pkgs, ... }:
let
  unstable = import <unstable> {};
in {
  programs.home-manager.enable = true;
	
  home.packages = with pkgs; [	
    feh
    pcmanfm
    lemonbar-xft
    neofetch
    lxappearance
    nordic
    acpi
    font-awesome
    xdotool
    irssi
    arandr
    compton
    dmenu
    steam-run
    kdialog
    maim
    pulsemixer
    gzdoom
    dosbox
    openxcom
    brave
    rustup
    xclip
    appimage-run
    wget
    audacity
    sxhkd
    bspwm
    clementine
    inconsolata
    alacritty
    ffmpeg
    firefox
    flameshot
    gimp
    mpv
    libaom
    multimc
    newsboat
    okteta
    qbittorrent
    runelite
    zeronet
    zsh
    oh-my-zsh
	sxiv
	git
	unzip
  ] ++ (with unstable; [
    discord-ptb
    tor-browser-bundle-bin
    doomseeker
    zandronum
    chocolateDoom
    youtube-dl
  ]);

  programs.zsh = { 
    enable = true;
  };
  programs.zsh.shellAliases = {
    temp="cat /sys/devices/virtual/thermal/thermal_zone0/temp";
    tube="~/pipe-viewer.sh";
    discord="DiscordPTB";
  };
  programs.zsh.oh-my-zsh = {
    enable = true;
    plugins = ["git" "vi-mode"];
    theme = "gnzh";

  };


  nixpkgs.config.pulseaudio = true;

  nixpkgs.config.allowUnfree = true;
  programs.firefox.enable = true;

  programs.neovim = {
	enable = true;
	vimAlias = true;
    extraConfig = "
    set noexpandtab
	colorscheme gruvbox
    set tabstop=4
    map <C-n> :NERDTreeToggle<CR>
    let g:ale_linters = {'rust': ['analyzer']}
    ";

  plugins = with unstable.vimPlugins; [
    nerdtree
    gruvbox
    coc-rust-analyzer
    ale
    tabular
    vim-nix
  ];
};
	


}
